projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e48508
)
Fix leak of xsi_schema_loc.
author
robertl
<robertl>
Tue, 10 Feb 2004 14:36:02 +0000
(14:36 +0000)
committer
robertl
<robertl>
Tue, 10 Feb 2004 14:36:02 +0000
(14:36 +0000)
gpx.c
patch
|
blob
|
history
diff --git
a/gpx.c
b/gpx.c
index 48f54123530d1a46ff05c25d3f986c78dbc34e0e..eba8bf77522f8c029d6c5432594d4e71e5d016dc 100644
(file)
--- a/
gpx.c
+++ b/
gpx.c
@@
-788,6
+788,10
@@
gpx_rd_deinit(void)
{
vmem_free(¤t_tag);
vmem_free(&cdatastr);
+ if ( xsi_schema_loc ) {
+ xfree(xsi_schema_loc);
+ xsi_schema_loc = NULL;
+ }
if ( gpx_email ) {
xfree(gpx_email);
gpx_email = NULL;